Class PopupMenuItemImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.PopupMenuItem.impl.PopupMenuItemImpl
All Implemented Interfaces:
IPCObject, PopupMenuItem

public class PopupMenuItemImpl extends IPCObjectImpl implements PopupMenuItem
Information provided by the PKI file:

    \class MenuItem
    
    \brief MenuItem is an item in the Menu object.
    
    \example appWindow().getMenuBar().getFilePopupMenu().getMenuItemByName("Save")
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getUuid

      public UUID getUuid()
      Information provided by the PKI file:
      
          \brief Returns the UUID of this menu item.
          
          \return uuid, the UUID of this menu item.
          
              
      Specified by:
      getUuid in interface PopupMenuItem
      Returns:
      UUID Returns a UUID
    • removeItem

      public void removeItem()
      Information provided by the PKI file:
      
          \brief Removes this menu item from the parent menu.
          
              
      Specified by:
      removeItem in interface PopupMenuItem
    • getLabel

      public String getLabel()
      Information provided by the PKI file:
      
          \brief Returns the label for this menu item.
          
          \return QString, the label for this menu item.
          
              
      Specified by:
      getLabel in interface PopupMenuItem
      Returns:
      String Returns a String
    • setEnabled

      public void setEnabled(boolean bEnabled)
      Information provided by the PKI file:
      
          \brief Enables or disables this menu item.
          
          \param bEnabled, true to enable this menu item, false to disable it.
          
              
      Specified by:
      setEnabled in interface PopupMenuItem
      Parameters:
      bEnabled - Takes in a parameter of bEnabled
    • setVisible

      public void setVisible(boolean bVisible)
      Information provided by the PKI file:
      
          \brief Shows or hides this menu item.
          
          \param bVisible, true to show this menu item, false to hide it.
          
              
      Specified by:
      setVisible in interface PopupMenuItem
      Parameters:
      bVisible - Takes in a parameter of bVisible